<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk">

<f:view>
<f:loadBundle var="text" basename="#{zjxmList.bundleName}"/>
    <head>
        <title>#{text['zjxmList.title']}</title>
        <meta name="heading" content="#{text['zjxmList.heading']}"/>
        <meta name="menu" content="ZjxmMenu"/>
    </head>
<body id="zjxmList">
<h:form id="editZjxm">

<h:commandButton value="#{text['button.add']}" action="add" id="add" immediate="true" styleClass="button"/>
<h:commandButton value="#{text['button.done']}" action="mainMenu" id="cancel" immediate="true" styleClass="button" style="margin-left: 5px"/>

<t:dataTable id="zjxms" var="zjxm" style="margin-top: 10px"
    value="#{zjxmList.zjxms}" rows="25" sortColumn="#{zjxmList.sortColumn}"
    sortAscending="#{zjxmList.ascending}" styleClass="scrollerTable table"
    headerClass="standardTable_Header" rowClasses="standardTable_Row1,standardTable_Row2"
    columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_ColumnCentered">

    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="xmmc" arrow="true">
                <h:outputText value="#{text['zjxm.xmmc']}" />
            </t:commandSortHeader>
        </f:facet>
        <h:commandLink action="#{zjxmForm.edit}" value="#{zjxm.xmmc}">
            <f:param name="zjxmid" value="#{zjxm.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="jk" arrow="true">
                <h:outputText value="#{text['zjxm.jk']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.jk}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="kjhl" arrow="true">
                <h:outputText value="#{text['zjxm.kjhl']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.kjhl}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="kssj" arrow="true">
                <h:outputText value="#{text['zjxm.kssj']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.kssj}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="operation" arrow="true">
                <h:outputText value="#{text['zjxm.operation']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.operation}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="optdate" arrow="true">
                <h:outputText value="#{text['zjxm.optdate']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.optdate}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="qt" arrow="true">
                <h:outputText value="#{text['zjxm.qt']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.qt}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="username" arrow="true">
                <h:outputText value="#{text['zjxm.username']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.username}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="version" arrow="true">
                <h:outputText value="#{text['zjxm.version']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.version}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="xh" arrow="true">
                <h:outputText value="#{text['zjxm.xh']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.xh}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="yjwcsj" arrow="true">
                <h:outputText value="#{text['zjxm.yjwcsj']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.yjwcsj}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="yjwlscxy" arrow="true">
                <h:outputText value="#{text['zjxm.yjwlscxy']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.yjwlscxy}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="yjzjhssj" arrow="true">
                <h:outputText value="#{text['zjxm.yjzjhssj']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.yjzjhssj}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="zhsje" arrow="true">
                <h:outputText value="#{text['zjxm.zhsje']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.zhsje}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="ztz" arrow="true">
                <h:outputText value="#{text['zjxm.ztz']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.ztz}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="zyzj" arrow="true">
                <h:outputText value="#{text['zjxm.zyzj']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zjxm.zyzj}" escape="true"/>
    </t:column>
</t:dataTable>

<ui:include src="/common/tableFooter.xhtml">
    <ui:param name="tableName" value="zjxms"/>
</ui:include>

<script type="text/javascript">
    highlightTableRows("editZjxm:zjxms");
</script>

</h:form>
</body>
</f:view>
</html> 